<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>引领右脑朝阳分校</title>
    <link rel="stylesheet" type="text/css" href="/css/marketing.css">
    <script src="/js/3rdparty/jquery-3.3.1.min.js" type="text/javascript"></script>
    <script src="/js/marketing.js" type="text/javascript"></script>
    <script src="/js/verifycode.js" type="text/javascript"></script>
</head>
<html>
<body>
<div><img src="/img/logo/ynimg.jpg" id="img-title"></div>
<div id="form-title">引领右脑朝阳校区欢迎您！</div>
<div id="form-main">
    <div id="form-div">
        <form class="form" id="form1">

            <p class="name">
                <input name="name" type="text" class="validate[required,custom[onlyLetter],length[0,100]] feedback-input" placeholder="姓名" id="name" />
            </p>

            <p class="phone">
                <input name="phone" type="tel" class="validate[required,custom[phone]] feedback-input" id="phone" placeholder="手机" />
            </p>

            <p class="sex">
                <select id="sex" name="sex" class="validate[required,custom[sex]] feedback-input" placeholder="性别">
                    <option class="option" value="true">男</option>
                    <option class="option" value="false">女</option>
                </select>
            </p>

            <!--<p class="age">
                <input name="age" type="text" class="validate[required,custom[age]] feedback-input" id="age" placeholder="年龄" />
            </p>-->


            <p class="birthday">
                <input name="birthday" type="date" class="validate[required,custom[birthday]] feedback-input" id="birthday" placeholder="生日" onfocus="this.removeAttribute('placeholder')"/>
            </p>

            <p class="code">
                <input name="code" type="text" class="validate[required,custom[code]] feedback-input" id="code" placeholder="验证码" />
                <input type="button" value="点击获取验证码" id="button-code" onclick="sendMessage()"/>
            </p>

            <div><input type="button" value="免费领取试听课" id="button-blue" onclick="submitForm('${host}', '${port}')"/></div>

        </form>
    </div>
</div>
</body>
</html>